package stud.mpgame.flash.preview;

import stud.mpgame.network.MessageDescription;

/**
 * ...
 * @author ghfjsdkl
 */

class MapInfoMessageDescription extends MessageDescription
{
	private static var ID = 4;
    private static var instance:MapInfoMessageDescription = null;

    public override function getID():Int {
        return ID;
    }
    
	public function new() {
		super();
        this.registerUserObject(ID, MapInfo);
	}
    
	public static function getInstance():MapInfoMessageDescription {
        if(instance == null){
            instance = new MapInfoMessageDescription();
        }
        return instance;
    }
}